home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-06-03 | 3.0 KB | 103 lines | [TEXT/CWIE] |
- //========================================================================================
- //
- // File: Defines.k
- // Release Version: $ ODF 1 $
- //
- // Copyright: (c) 1993 - 1996 by Apple Computer, Inc., all rights reserved.
- //
- //========================================================================================
-
- #ifndef DEFINES_K
- #define DEFINES_K
-
- #ifndef FWMENU_K
- #include "FWMenu.k"
- #endif
-
- //-------------------------------------------------------------------------------------
- // Uncomment the following three lines, and define them appropriately!!
- // If your part can be a container for other parts, define FW_SUPPORTS_EMBEDDING
- // to be 1. Otherwise define it to be 0.
- // If your part defines any ODExtensions, define FW_SUPPORTS_EXTENSIONS to be
- // 1 to enable the extensions manager. Otherwise, define it to be 0.
- // If your part is scriptable, define FW_SUPPORTS_SCRIPTING to be 1. Otherwise,
- // define it to be zero. Note that if your part is scriptable is must support
- // extensions, so FW_SUPPORTS_EXTENSIONS must be defined to be 1.
-
- #define FW_SUPPORTS_EMBEDDING 0
- #define FW_SUPPORTS_EXTENSIONS 0
- #define FW_SUPPORTS_SCRIPTING 0
-
- //-------------------------------------------------------------------------------------
- // Icons ID
- #define kViewAsIconID 128
- #define kAboutIconID 130
-
- //-------------------------------------------------------------------------------------
- // Strings
- #define kAMSamplePartStrings 1000
-
- #define kFirstString 1
- #define kMacString 2
- #define kWinString 3
- #define kBlankString 4
-
- #ifdef FW_BUILD_MAC
- #define kPlatformString kMacString
- #endif
- #ifdef FW_BUILD_WIN
- #define kPlatformString kWinString
- #endif
-
- #define kAMSampleUndoStrings 1001
-
- #define kUndoDragTextMsg 1
- #define kRedoDragTextMsg 2
- #define kUndoDropTextMsg 3
- #define kRedoDropTextMsg 4
- #define kUndoClearTextMsg 5
- #define kRedoClearTextMsg 6
- #define kUndoCutTextMsg 7
- #define kRedoCutTextMsg 8
- #define kUndoPasteTextMsg 9
- #define kRedoPasteTextMsg 10
-
- //-------------------------------------------------------------------------------------
- // Menus
- #define kMenuBar 1024
-
- // ----- Command IDs
- #define cStuffCommand FW_kFirstUserCommandID + 0
- #define cMoreStuffCommand FW_kFirstUserCommandID + 1
- #define cStillMoreCommand FW_kFirstUserCommandID + 2
-
- //-------------------------------------------------------------------------------------
- // About
- #define kAbout 1024
-
- //-------------------------------------------------------------------------------------
- // Part Info
- #define kPartInfoID 1024
-
- //-------------------------------------------------------------------------------------
- // Views
- #include "ViewIds.k"
-
- //-------------------------------------------------------------------------------------
- // Mac-specific Resources
-
- #ifdef FW_BUILD_MAC
-
- // ODF Popups use Mac MENU resources for now
- #define kBrowseTimeMenuResID 1000
- #define kOnlineTimeMenuResID 1001
-
- // Background pictures used in the form
- #define kFormPict1 130
- #define kFormPict2 131
-
- #endif // FW_BUILD_MAC
-
- #endif
-
-